package com.sup.table.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sup.common.annotation.Excel;
import com.sup.common.core.domain.BaseEntity;

/**
 * 员工管理对象 emp_table
 * 
 * @author ruoyi
 * @date 2025-02-21
 */
public class EmpTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工编号id */
    @Excel(name = "员工编号id")
    private Integer id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String empPhone;

    /** 性别(0女1男 */
    @Excel(name = "性别(0女1男")
    private Long empGender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long empAge;

    /** 职位（职位id */
    @Excel(name = "职位", readConverterExp = "职位（职位id")
    private Long empPosition;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String empHomeAddress;

    /** 是否停职（1工作，0停职，2休假 */
    @Excel(name = "是否停职", readConverterExp = "是否停职（1工作，0停职，2休假")
    private Long empLeave;

    /** 早中晚班（0早晚班6:00-10:00、18:00-22:00，1中班10:00-18:00， */
    @Excel(name = "早中晚班", readConverterExp = "早中晚班（0早晚班6:00-10:00、18:00-22:00，1中班10:00-18:00，")
    private Long empShift;

    /** 创建时间 */
    private Date empCreationTime;

    /** 创建人员 */
    private Long empCreator;

    /** 更改时间 */
    private Date empModificationTime;

    /** 更改操作人员 */
    private Long empModifier;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setEmpPhone(String empPhone) 
    {
        this.empPhone = empPhone;
    }

    public String getEmpPhone() 
    {
        return empPhone;
    }
    public void setEmpGender(Long empGender) 
    {
        this.empGender = empGender;
    }

    public Long getEmpGender() 
    {
        return empGender;
    }
    public void setEmpAge(Long empAge) 
    {
        this.empAge = empAge;
    }

    public Long getEmpAge() 
    {
        return empAge;
    }
    public void setEmpPosition(Long empPosition) 
    {
        this.empPosition = empPosition;
    }

    public Long getEmpPosition() 
    {
        return empPosition;
    }
    public void setEmpHomeAddress(String empHomeAddress) 
    {
        this.empHomeAddress = empHomeAddress;
    }

    public String getEmpHomeAddress() 
    {
        return empHomeAddress;
    }
    public void setEmpLeave(Long empLeave) 
    {
        this.empLeave = empLeave;
    }

    public Long getEmpLeave() 
    {
        return empLeave;
    }
    public void setEmpShift(Long empShift) 
    {
        this.empShift = empShift;
    }

    public Long getEmpShift() 
    {
        return empShift;
    }
    public void setEmpCreationTime(Date empCreationTime) 
    {
        this.empCreationTime = empCreationTime;
    }

    public Date getEmpCreationTime() 
    {
        return empCreationTime;
    }
    public void setEmpCreator(Long empCreator) 
    {
        this.empCreator = empCreator;
    }

    public Long getEmpCreator() 
    {
        return empCreator;
    }
    public void setEmpModificationTime(Date empModificationTime) 
    {
        this.empModificationTime = empModificationTime;
    }

    public Date getEmpModificationTime() 
    {
        return empModificationTime;
    }
    public void setEmpModifier(Long empModifier) 
    {
        this.empModifier = empModifier;
    }

    public Long getEmpModifier() 
    {
        return empModifier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empName", getEmpName())
            .append("empPhone", getEmpPhone())
            .append("empGender", getEmpGender())
            .append("empAge", getEmpAge())
            .append("empPosition", getEmpPosition())
            .append("empHomeAddress", getEmpHomeAddress())
            .append("empLeave", getEmpLeave())
            .append("empShift", getEmpShift())
            .append("empCreationTime", getEmpCreationTime())
            .append("empCreator", getEmpCreator())
            .append("empModificationTime", getEmpModificationTime())
            .append("empModifier", getEmpModifier())
            .toString();
    }
}
